package com.example.chatroom.service;

import com.example.chatroom.controller.param.GetMessagesParam;
import com.example.chatroom.service.dto.GetMessagesDTO;

import java.util.List;

public interface IMessageService {
    /**
     * 获取历史消息
     * @param getMessagesParam
     * @return
     */
    List<GetMessagesDTO> getMessages(GetMessagesParam getMessagesParam);
}
